home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #15
/
Monster Media Number 15 (Monster Media)(July 1996).ISO
/
renegade
/
fd53os2.zip
/
FDMCI.DOC
< prev
next >
Wrap
Text File
|
1996-05-25
|
5KB
|
135 lines
FileDude 5.3 MCI codes
================================================================
TEMPLATE FILES
The template files FileDude uses to contruct the filelist are:
HEADER.ASC At the beginning of the filelist.
PREBODY.ASC Before a file area.
ERROR.ASC Shows up if FileDude cannot process a certain
file area (i.e. when there is no SHARE
permission.)
BODY.ASC Each entry in the file area.
EXTBODYx.ASC For entry with 'x' number of extended
description lines, where 'x' ranges 1 to 9.
BODYINFO.ASC Extra information for a file entry, such as
the number of credits, downloads, etc.
POSTBODY.ASC After a file area.
FOOTER.ASC At the end of the filelist.
FILE_ID.ASC If FileDude compresses your filelist, it will
insert a FILE_ID.DIZ in the archive using this
file as a template.
MCI CODES
The below MCI codes are valid in only certain template files.
MCI SIZE TEMPLATE DESCRIPTION
--- ---- ------------ --------------------------------------
%DA 8 HEADER.ASC date of the filelist in format:
FOOTER.ASC xx/xx/xx
FILE_ID.ASC
%BN 40 HEADER.ASC BBS name
FOOTER.ASC
FILE_ID.ASC
%BP 12 HEADER.ASC BBS phone number in format:
FOOTER.ASC xxx-xxx-xxx
FILE_ID.ASC
%SN 30 HEADER.ASC Sysop's name
FOOTER.ASC
FILE_ID.ASC
%FB 40 <any> Full name of the current file area
%F1 13 FOOTER.ASC Total bytes in all areas shown
FILE_ID.ASC
%F1K 13 FOOTER.ASC Total kilobytes in all areas shown
FILE_ID.ASC
%F2 13 FOOTER.ASC Total files in all areas shown
FILE_ID.ASC
%F3 6 FOOTER.ASC Total directories shown
FILE_ID.ASC
%F4 13 POSTBODY.ASC Total bytes in current file area
%F4K 13 POSTBODY.ASC Total kilobytes in current file area
%F5 6 POSTBODY.ASC Total files processed in the current
file area
%F6 12 BODY.ASC Name of current file
%F7 7 BODY.ASC Size of current file ("k" on end)
%F8 60 BODY.ASC Main (line 1) description of current
file
%FEx 50 EXTBODYx.ASC For entry with 'x' number of extended
description lines, where 'x' ranges 1
to 9.
%FC 6 BODYINFO.ASC Number of credits required for file
%FD 8 BODYINFO.ASC Date of file entry
BODY.ASC
EXTBODYx.ASC
%F9 6 BODYINFO.ASC Number of downloads of a file
In addition FileDude can choose between a single and plural
form of a word. The syntax is:
%[singular/plural]
The following would choose between "directory" and
"directories", depending on the value of %F3 (number of
directories processed):
%F3 %[directory/directories]
The value on which the decision is based must be a numeral
value, such as 1 or 42, not "one" or "forty-two".
FORMATTING
After an MCI code, the following formatting options are
available:
#x -- Sets the width to 'x'. If the MCI string is not long
enough to fill the width, it is padded with spaces to
'x' length. 'x' can be any integer between -32,767 to
32,767, inclusive.
A positive width is for RIGHT JUSTIFICATION.
A negative width is for LEFT JUSTIFICATION.
:x -- Set the precision to 'x'. If the MCI string is longer
than the precision, the string is truncated to 'x'
length. 'x' can be any positive integer up to 32,767.
Here are some examples (with tab marks every 5 spaces to help):
ORIGINAL STRING MCI CODING OUTPUT
--------------- ---------------- ----|----|----|----|
10/29/94 Today is %DA#10! Today is 10/29/94!
Mr. Ed's Corner BBS: %BN#10:5 BBS: Mr. E
12:04:06 Time: %TI#-7:5am Time: 12:04 am
[End-of-file]